package com.panshi.vo.qa;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel(value = "包装类")
public class DataResultQA<T> implements Serializable {
    //错误编码
    @ApiModelProperty(value = "错误编码")
    private Integer code;
    //描述
    @ApiModelProperty(value = "描述")
    private String describe;
    //失败falss,成功true
    @ApiModelProperty(value = "失败falss,成功true")
    private boolean boo;
    //数据
    @ApiModelProperty(value = "数据")
    private T data;

}
